home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2672 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: news.eunet.fi!fipnet!kone!jsaarinen
  2. Newsgroups: comp.sys.amiga.programmer
  3. X-NewsReader: IntuiNews 1.2b (31.7.94)
  4. References: <38232191@kone.fipnet.fi> <551.6602T1231T2646@ifi.uio.no> <38232238@kone.fipnet.fi> <1316.6605T735T2597@ifi.uio.no>
  5. From: "Jyrki Saarinen" <jsaarinen@kone.fipnet.fi>
  6. Date: Sat, 3 Feb 96 09:00:07 UT
  7. Comments: Illegal date header - new date added by quicknews
  8. X-Original-Date: Fri, 02 Feb 96 18:41:14 
  9. MIME-Version: 1.0
  10. Content-Type: text/plain; charset=iso-8859-1
  11. Content-Transfer-Encoding: binary
  12. Subject: Re: PPC compilers
  13. Message-ID: <38232280@kone.fipnet.fi>
  14.  
  15.  
  16. > Well, I know on thing for sure, and that is:
  17. > >        moveq   #0,d0
  18. > >        add.l   d1,d0
  19. > ...*ALLWAYS* sets the x-flag to 0 for any value d1!
  20. > So *YOU* allways clear the x-flag too. :))
  21.  
  22. Yep.. ;)
  23.  
  24. > Now, I'm thinking about something that /can/ be wrong with the addx
  25. > routines.
  26. > The X-flag is not added to d2 at the correct time, I think.
  27. > Its delayed with 1 run throw the loop:
  28. > So here is a suggestion:
  29. >     sub.w  d1,d2           ; This routine will only affect the hi-word
  30. >                              of
  31. >     add.l  d1,d2           ; d2 and set the xflag right.
  32. > This routine will solve the the x-flag *and* the delay problem.
  33. > (If you are using 16:16)
  34. > It looked cool, I think I will try that in my routines! :)
  35.  
  36. Yep, the problem is, that the decimals are delayed. So this
  37. will fix it? How about with two addx? What then?
  38.  
  39. --                               _
  40. a Stellar programmer          _ //
  41. "Amiga - back for the future" \X/
  42.